// vite.config.js
import { defineConfig } from "file:///D:/Code/web/sjyl/web-sanjiang2/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/Code/web/sjyl/web-sanjiang2/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///D:/Code/web/sjyl/web-sanjiang2/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/Code/web/sjyl/web-sanjiang2/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/Code/web/sjyl/web-sanjiang2/node_modules/unplugin-vue-components/dist/resolvers.js";
import path from "path";
var __vite_injected_original_dirname = "D:\\Code\\web\\sjyl\\web-sanjiang2";
var vite_config_default = defineConfig({
  server: {
    port: 8080,
    host: "0.0.0.0",
    // 配置项目可以局域网访问
    cors: true
    // 默认启用并允许任何源
  },
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src")
    }
  },
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    })
  ]
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxDb2RlXFxcXHdlYlxcXFxzanlsXFxcXHdlYi1zYW5qaWFuZzJcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXENvZGVcXFxcd2ViXFxcXHNqeWxcXFxcd2ViLXNhbmppYW5nMlxcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovQ29kZS93ZWIvc2p5bC93ZWItc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